package com.example.gpsController;

import com.aliyun.dysmsapi20170525.Client;
import com.aliyun.dysmsapi20170525.models.SendSmsResponse;
import com.example.pojo.ResponseVo;
import com.example.service.PerInformationService;
import com.example.util.Sample;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@CrossOrigin
@RestController
@RequestMapping("/perInfo")
public class PerInformationController {


    @Autowired
    private PerInformationService perInformationService;

    @GetMapping("/getPerInfo")
    public ResponseVo getPerInfo() {
        return  perInformationService.getPerInfo();
    }

}
